import request from '@/utils/request'

// 查询负责人列表
export function listFuzerenCertificate(query) {
  return request({
    url: '/exam/fuzerenCertificate/list',
    method: 'get',
    params: query
  })
}

// 查询负责人详细
export function getFuzerenCertificate(id) {
  return request({
    url: '/exam/fuzerenCertificate/' + id,
    method: 'get'
  })
}

// 新增负责人
export function addFuzerenCertificate(data) {
  return request({
    url: '/exam/fuzerenCertificate',
    method: 'post',
    data: data
  })
}

// 修改负责人
export function updateFuzerenCertificate(data) {
  return request({
    url: '/exam/fuzerenCertificate',
    method: 'put',
    data: data
  })
}

// 删除负责人
export function delFuzerenCertificate(id) {
  return request({
    url: '/exam/fuzerenCertificate/' + id,
    method: 'delete'
  })
}
// 经办人提交审批
export function fuzerenApprovalSubmitCertificate(examPassCertificate) {
  return request({
    url: '/exam/fuzerenCertificate/submit',
    method: 'post',
    data: examPassCertificate
  })
}